home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
batchut
/
countfil.zip
/
README.1ST
< prev
Wrap
Text File
|
1992-02-13
|
2KB
|
30 lines
This Program will keep track of the number of times it has been
executed and will run a any specified program after reaching a predetermined
number. It will then restart the counting till the number is reached again.
When the program is first run, it will create the file CONFIG.TPS which holds
the configuration data specifying the number of times the program must be run
before the specified program is executed, and the name of the specified
program to run when it does execute. The FILE TO RUN must be specified
as a full path (eg <drive>:\<dir>\<filename>). To reset this program, delete
CONFIG.TPS and rerun the program. The file DATA.TPS is created and
holds the counter data of the number of times the program has been run. To
reset this file, just delete the file and it will be remade starting at 1.
This Program was written in TurboPascal 6.0.
The program countfil.exe must be run and setup then placed in your
autoexec.bat. This will automatically execute the program countfil each time
your computer is booted. When the number of boots the user selected has
been reached the selected program will execute.
As an example the countfil program on it's first run would ask the user
to specify what program the user wants to run such as:
c:\norton\ds ne c:\ /s
The command used as an example would run norton's directory sort. The user
is next asked the number of boots before executing the above program. Once
this number is selected and entered the program should placed in the
autoexec.bat. The user will not see any evidence of Countfil.exe until the
number of boots has been reached, then the desired program will execute.
Once the desired program has been executed Countfil will automatically start
it's count of boots over.
If you find this program helpful, please send $1.00 to :
GRSoft
3085 Abbott Ln
Paris, TX 75460